package com.cxria.dubbo.provider.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.cxria.dubbo.service.AnnotateService;
import org.springframework.stereotype.Component;

@Component
@Service(interfaceClass = AnnotateService.class)
public class AnnotateServiceImpl implements AnnotateService {

    @Override
    public String sayHello(String name) {
        return "hello : " + name;
    }

}
